libxc: Implement stub xc_gnttab_map_table() for non-linux.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 1 Jun 2009 14:52:19 +0000 (15:52 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 1 Jun 2009 14:52:19 +0000 (15:52 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/libxc/xc_minios.c
tools/libxc/xc_netbsd.c
tools/libxc/xc_solaris.c

index a4e32ff078ca4690cdfa9d43bb856181486cabcd..8636ff54592373743c58f97d918079b9a8a7c42e 100644 (file)
@@ -414,6 +414,11 @@ int xc_gnttab_set_max_grants(int xcg_handle,
     return ret;
 }
 
+struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num)
+{
+    return NULL;
+}
+
 /*
  * Local variables:
  * mode: C
index aab325f68a3048837e14b9113784409ba9adc5f4..27a25d45a45e80c71067f744a00636b607b62225 100644 (file)
@@ -263,6 +263,11 @@ void discard_file_cache(int fd, int flush)
     }
 }
 
+struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num)
+{
+    return NULL;
+}
+
 /*
  * Local variables:
  * mode: C
index d32a53755096d8ed34358a70397382b3e16ad2b3..6c1f209476e4ae83aaa0169db82738dd470ded5d 100644 (file)
@@ -252,3 +252,8 @@ void discard_file_cache(int fd, int flush)
 {
     // TODO: Implement for Solaris!
 }
+
+struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num)
+{
+    return NULL;
+}